package com.qqt.csr.im.vo.req;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qqt.csr.common.operalog.OperaLogSchema;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "QueryingSensitiveWordReqVO", description = "查询敏感词列表")
public class QueryingSensitiveWordReqVO implements Serializable {
    @Serial
    private static final long serialVersionUID = -6924133133029581176L;

    @Schema(description = "词库id", requiredMode = Schema.RequiredMode.REQUIRED)
    @OperaLogSchema(desc = "词库id")
    @NotNull(message = "词库id不能为空")
    private Long repoId;

    @Schema(description = "敏感词名称")
    private String name;

    @Schema(description = "状态：0 不启用；1 启用")
    private Integer enable;

    @Schema(description = "租户id", hidden = true)
    private String tenantId;

}
